home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_11
/
8n11036c
< prev
next >
Wrap
Text File
|
1990-08-01
|
903b
|
29 lines
struct _DOSFSRSEM
{
USHORT cb;
PID pid;
TID tid;
USHORT cUsage;
USHORT client;
ULONG sem;
};
typedef struct _DOSFSRSEM DOSFSRSEM;
cb Specifies the length of the structure. Currently
this must be initialized to 14.
pid Specifies the process ID of the owning process.
tid Specifies the owning thread ID.
cUsage Count of the number of times the owner has
requested the semaphore without clearing it.
client A word reserved for use by the semaphore owner.
sem The actual RAM semaphore.